<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>图书查询</title>
    <#assign path="${springMacroRequestContext.getContextPath()}">
    <link rel="stylesheet" href="${path}/layui/css/layui.css">
</head>
<body>
<form class="layui-form" action="/book/admin_select" id="ajaxForm">
    <br>
    <br>
    <div class="layui-form-item">
        <label class="layui-form-label">图书名称</label>
        <div class="layui-input-block">
            <input type="text" name="bookName" lay-verify="title" autocomplete="off" placeholder="请输入书籍名称" class="layui-input"  style="width: auto;" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">作者</label>
        <div class="layui-input-block">
            <input type="text" name="author" lay-verify="title" autocomplete="off" placeholder="请输入作者名称" class="layui-input"  style="width: auto;" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">出版社</label>
        <div class="layui-input-block">
            <input type="text" name="publish" lay-verify="title" autocomplete="off" placeholder="请输入出版社名称" class="layui-input"  style="width: auto;" >
        </div>
    </div>
    <div class="layui-form-item"  style="width: 300px;">
        <label class="layui-form-label">种类</label>
        <div class="layui-input-block">
            <select name="bookKind" lay-verify="required">
                <option value="现代">现代</option>
                <option value="武侠">武侠</option>
                <option value="文艺">文艺</option>
                <option value="科幻">科幻</option>
                <option value="历史">历史</option>
                <option value="神魔">神魔</option>
                <option value="经典文学">经典文学</option>
            </select>
        </div>
</form>

<script src="${path}/layui/layui.js"></script>
<script>
    layui.use(['form','upload'], function(){
        var $ = layui.jquery;
        var form = layui.form; //只有执行了这一步，部分表单元素才会自动修饰成功
    });
</script>
</body>
</html>